package com.hsm9;

public interface TestInterface2 {
    public static final int NUM = 10;
    public abstract void a();
    public default void b(){
        System.out.println("b");
    }

    //静态方法
    public static void c(){
        System.out.println("静态方法");
    }
}
class Test2 implements TestInterface2{
    @Override
    public void a() {
        System.out.println("重写了接口中的方法a");
    }
}
